Clover (software)

Clover
Developer(s) Atlassian
Stable release 3.1.0 / June 2, 2011; 8 months ago (2011-06-02)
Operating system Cross-platform
Type Code coverage
License Proprietary
Website www.atlassian.com

Clover is a Java Code Coverage Analysis application developed by Atlassian. Although Clover is a commercial product, it is freely available to open source projects and non-profit institutions.

Some features include historical reporting, complete control over the coverage gathering process, command line toolset and API for legacy integration and more.

Clover also allows testing time to be reduced by only running the tests that cover the application code that was modified since the previous build. This is called Test Optimization and can lead to huge drops in the amount of time spent waiting for automated tests to complete.

A clover invocation from Apache Ant might look like:

<target name="html-clover-report" depends="define-tasks">
    <mkdir dir="${core.dir}/output/clover/html" />
    <clover-html-report outdir="${core.dir}/output/clover/html" title="aTAO Project"/>
</target>

where "define-tasks" would include:

<taskdef resource="cloverlib.xml" classpath="${clover.jar}"/>

Other Atlassian products are JIRA, Confluence, Crowd, Bamboo, Crucible and FishEye. Competing tools include EMMA and Cobertura

See also

External links